<include file="Public:head"/>  
        <div class="content">
<div class="cLineB">
<h4 class="left">自定义表单 ({weixin:$page}) </h4>
<div class="searchbar right">
<form method="post" action="">
<input type="text" id="msgSearchInput" class="txt left" placeholder="输入关键词搜索" name="searchkey" value="">
<input type="hidden" name="ac" value="hotels-list">
<input type="hidden" name="id" value="9878">
<input type="hidden" name="wxid" value="gh_423dwjkewad">
<input type="submit" value="搜索" id="msgSearchBtn" href="" class="btnGrayS" title="搜索">
</form>
</div>
<div class="clr"></div>
</div>
<div class="cLine">
<div class="pageNavigator left"> 
	<a href="{weixin::U('Diyform/add',array('token'=>$token))}" title="新增订单商家" class="btnGrayS vm bigbtn">
	<img src="{weixin::RES}/images/pic.png" class="vm">新增表单</a> 
</div>
<div class="clr"></div>
</div>
<div class="msgWrap">
<form method="post" action="" id="info">
<input name="delall" type="hidden" value="">
<input name="wxid" type="hidden" value="">
<table class="ListProduct" border="0" cellspacing="0" cellpadding="0" width="100%">
<thead>
<tr>
<th class="select">选择</th>
<th width="160">表单名称</th>
<th width="60">关键词</th>
<th width="170">地址</th>
<th width="80">电话</th>
<th width="130">创建时间</th>

<th width="200" class="norightborder">操作</th>
</tr>
</thead>
<tbody>
<tr></tr>
<volist name="list" id="Diyform"> 
<tr>
<td><input type="checkbox" name="del_id[{weixin:$i}]" value="285" class="checkitem"></td>
<td>{weixin:$Diyform.title}</td>
<td>{weixin:$Diyform.keyword}</td>
<td>{weixin:$Diyform.address}</td>
<td>{weixin:$Diyform.tel}</td>
<td>{weixin:$Diyform.creattime|date="Y-m-d H:i:s",###}</td>
<td class="norightborder">
	<a href="{weixin::U('Diyform/set',array('id'=>$Diyform['id'],'token'=>$token))}">表单配置</a> 
	<a href="{weixin::U('Diyform/admin',array('id'=>$Diyform['id'],'token'=>$token))}">信息管理</a> 
	 <a href="javascript:drop_confirm('您确定要删除吗?', '{weixin::U('Diyform/index_del',array('id'=>$Diyform['id'],'token'=>$token))}');">删除</a>
 </td>
</tr>
</volist>
</tbody>
</table>
</form>
<script>
   function checkvotethis() {
var aa=document.getElementsByName('del_id[]');
var mnum = aa.length;
j=0;
for(i=0;i<mnum;i++){
if(aa[i].checked){
j++;
}
}
if(j>0) {
document.getElementById('info').submit();
} else {
alert('未选中任何文章或回复！')
}
}

   </script> 
</div>
<div class="cLine">
<div class="pageNavigator right">
<div class="pages">{weixin:$page}</div>
</div>
<div class="clr"></div>
</div>
</div>
<include file="Public:footer"/>